package com.hzsai.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author  hzsai
 * @date    2020/1/5 16:32
 * @usage: 集成thymeleaf测试controller
 */
@Controller
public class HelloThymeleaf {

    @GetMapping("/hellothymeleaf")
    public String helloThymeleaf() {
        return "index";
    }
}
